package logger

func String(key, val string) Field {
	return Field{
		Key: key,
		Val: val,
	}
}
func Int32(key string, val int32) Field {
	return Field{
		Key: key,
		Val: val,
	}
}

func Int64(key string, val int64) Field {
	return Field{
		Key: key,
		Val: val,
	}
}

func Error(err error) Field {
	return Field{
		Key: "error",
		Val: err,
	}
}

func GormString(val string) Field {
	return Field{
		Key: "Gorm-Info",
		Val: val,
	}
}
